import request from '@/utils/request'

// 查询待处理签约列表
export function listUntreated(query) {
  return request({
    url: '/contractuntreated/untreated/list',
    method: 'get',
    params: query
  })
}

// 查询待处理签约详细
export function getUntreated(id) {
  return request({
    url: '/contractuntreated/untreated/' + id,
    method: 'get'
  })
}

// 新增待处理签约
export function addUntreated(data) {
  return request({
    url: '/contractuntreated/untreated',
    method: 'post',
    data: data
  })
}

// 修改待处理签约
export function updateUntreated(data) {
  return request({
    url: '/contractuntreated/untreated',
    method: 'put',
    data: data
  })
}

// 删除待处理签约
export function delUntreated(id) {
  return request({
    url: '/contractuntreated/untreated/' + id,
    method: 'delete'
  })
}
